package com.team2.outpatient_sys.service;

import com.team2.outpatient_sys.pojo.Doctor;

public interface PersonalService {
    public Doctor findByName(String name);

    Doctor findByIdAndPass(Integer id, String password);

    Integer updateNewPass(String password,Integer id);

    Doctor findByUsername(String username);

    Integer updatePersonal(Doctor doctor);
}
